home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
lpmac1.arc
/
I8086.MLB
< prev
next >
Wrap
Text File
|
1987-02-20
|
1KB
|
48 lines
;
; This is file: 8086.LIB.
;
; It is an include library file containing constant
; declarations which are for use with an 8086 assembly.
;
;-------------------------------------------------------------------
;
BYTELENGTH EQU 001H ;Number of bytes in a byte!
WORDLENGTH EQU 002H ;Number of bytes in a word.
DBLWORDLENGTH EQU 2*WORDLENGTH ;Number of bytes in a double word.
PARAGRAPHLENGTH EQU 010H ;Number of bytes in a paragraph.
PAGELENGTH EQU 00100H ;Number of bytes in a page.
;
INTVECSPACING EQU 004H ;Spacing between interrupt vectors.
;
FALSE EQU 000H ;Used to indicate false condition.
IFNDEF TRUE
TRUE EQU 001H ;Used to indicate true condition.
ENDIF ;IFNDEF TRUE
;
OFLAG EQU 00800H
DFLAG EQU 00400H
IFLAG EQU 00200H
TFLAG EQU 00100H
;
SFLAG EQU 00080H
IFNDEF ZFLAG
ZFLAG EQU 00040H
ENDIF ;IFNDEF ZFLAG
AFLAG EQU 00010H
PFLAG EQU 00004H
CFLAG EQU 00001H
;
ZERO EQU 000H
ONE EQU 001H
;
MINWRD EQU 08000H
MAXWRD EQU 07FFFH
MAXBYT EQU 000FFH
NIBBLE EQU 0000FH
NULL EQU 00000H
HIGHBYTE EQU 001H
LOWBYTE EQU 000H
PARITY EQU 080H
;